RASA bot framework

Live Hub connects to a bot built on RASA. AudioCodes maintains a channel for RASA that implements the AudioCodes Bot API. Add it to your bot before you start.

On RASA Pro you also need:

The connection runs in one of two modes, which you select while you create it:

Mode 'Bot connection API type' Based on Suits
chat HTTP mode HTTP request and response Simple, stateless bots
streaming WebSocket mode A bi-directional WebSocket Stateful bots. Adds proactive messages from the bot and audio streaming

Create the bot connection

Once the AudioCodes channel is in place on the RASA side, create the bot connection in Live Hub.

To create a bot connection:

  1. In the Navigation pane, select Bot connections, and then click Add new voice bot connection or Add new assist bot connection.

    The Connect your Bot framework picker

  2. Select RASA, and then click Next.

    The RASA connection details

  3. In the 'Bot connection name' field, enter a name for the bot connection.

  4. From the 'Bot connection API type' drop-down list, select HTTP mode or WebSocket mode.

  5. In the 'Bot URL' field, enter the bot's URL for creating new conversations.

  6. In the 'Token' field, enter the bot access token, the same one you set as a credential on the RASA side.

  7. From the 'Live Hub region' drop-down list, select the region your Live Hub voice infrastructure runs in. See Global region support.

  8. Click Validate bot connection configuration to check the URL and token.

  9. Click Next.

    The bot connection settings

  10. This step applies to streaming mode only. To have Live Hub stream voice directly between the bot and the caller instead of exchanging text, select the 'Enable voice streaming' check box, and then set 'Language', leaving it as Any or selecting a specific language.

    With voice streaming on, the speech-to-text and text-to-speech fields disappear, since the bot receives and returns audio itself.

  11. Unless you enabled voice streaming, select a speech-to-text service and a text-to-speech service.

  12. Click Create.